import request from '@/utils/request'

// 获取医生排班信息
export function getDoctorSchedule(doctorId) {
  return request({
    url: `/api/schedules/doctor/${doctorId}`,
    method: 'get'
  })
}

// 创建预约
export function createAppointment(data) {
  return request({
    url: '/api/appointments',
    method: 'post',
    data
  })
} 